package com.qwe.graduation.utils.exception;

/**
 * @author lzf
 * @date 2023/1/9 13:06
 * @description ServiceException
 */

import lombok.Getter;

/**
 * 自定义异常
 */
@Getter
public class ServiceException extends RuntimeException {
    private String code;

    public ServiceException(String code, String msg) {
        super(msg);
        this.code = code;
    }

}
